package org.garbagecan.quartzstudy.listener;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class MyJob {

	private Log log = LogFactory.getLog(MyJob.class);

	private String name;

	public MyJob(String name) {
		this.name = name;
	}

	public void execute() {
		log.info(name + " start Time:" + System.currentTimeMillis());
//		try {
//			Thread.currentThread().sleep(4000);
//		} catch (InterruptedException e) {
//			e.printStackTrace();
//		}
	}
}
